import request from '@/utils/request'

export function initExamScoreTable(data) {
    return request({
        url: '/examScore/initExamScoreTable',
        method: 'post',
        data
    })
}

export function scoresRecord(data) {
    return request({
        url: '/examScore/scoresRecord',
        method: 'post',
        data
    })
}

export function getClassExamScoreCount(examPlanId,classId,subjectId) {
    return request({
        url: '/examScore/getClassExamScoreCount?examPlanId='+examPlanId+"&classId="+classId+"&subjectId="+subjectId,
        method: 'get',
    })
}

export function exportTemplate() {
    return request({
        url: '/examScore/exportTemplate',
        method: 'get',
        responseType: 'blob'
    })
}

export function queryList(data) {
    return request({
        url: '/examScore/queryList',
        method: 'post',
        data: data
    })
}